package com.minshenglife.zanzan.service;

import java.util.Map;

import com.minshenglife.zanzan.entity.power.GroupPower;


/**
 * work content service
 * @author huodd
 * @date 2014-07-04 
 */
public interface GroupPowerService {
	

	/**
	 * 查看该用户可以看谁的日志
	 * @param viewEmpId 拥有查看日志权限的员工工号
	 * @return
	 */
	String findByViewEmpId(String viewEmpId);


	Map<String,String> findAllGroupPower();
	
	void deleteViewEmpId(String viewEmpId);
	
	Map<String,String> findGroupPowerByViewEmpId(String viewEmpId);
	
	void add(GroupPower groupPower);
	
	String findByViewEmpIdAndViewType(String viewEmpId,String viewType);
	
	/**
	 * 根据要看的总分公司和职级，去查询被审阅的人
	 * @param viewEmpId
	 * @param viewType
	 * @param postId
	 * @return
	 */
	String findByViewEmpIdAndViewTypeAndPostId(String viewEmpId,String viewType,String postId);
}
